﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.TradeChannel.DefaultImpl
{
    /// <summary>
    /// 订单支付申请
    /// </summary>
    [Serializable]
    public class OrderPayApply : IOrderPayApply
    {
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime ExpireTime { get; set; }       

        /// <summary>
        /// 客户端Ip
        /// </summary>
        public string ClientIP { get; set; }

        /// <summary>
        /// 扩展参数
        /// </summary>
        public string ExtraParam { get; set; }

        /// <summary>
        /// 获取或设置订单号
        /// </summary>
        public string OrderNo { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string Subject { get; set; }

        /// <summary>
        /// 详情(体)
        /// </summary>
        public string Body { get; set; }

        /// <summary>
        /// 订单金额
        /// </summary>
        public decimal OrderMoney { get; set; }

        /// <summary>
        /// 获取或设置用户标识(如微信 openId等)
        /// </summary>
        public string UserToken { get; set; }

        /// <summary>
        /// 通道参数
        /// </summary>
        public Dictionary<string, string> ChannelParams { get; set; }

    }
}
